<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: 黑黑侠
  Date: 2019/11/4
  Time: 17:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <link rel="shortcut icon" href="../imgs/bq.ico" type="image/x-icon">
    <title>Title</title>
    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <style type="text/css">
        *{
            margin:0;
            padding:0;
        }
        a{
            color:#fff;
        }
        body{
            background-image:url(../imgs/as.png);
            background-size: cover;
            background-attachment: fixed;
            background-repeat: no-repeat;
        }
    </style>
</head>
<body>
<div style="margin-top: 40px;color:gray;font-size: 20px;font-family: KaiTi;height:20px;width: 100%;margin-left: 270px;line-height: 60px" >
    <div style="float:left;">欢迎进入教师选课系统!</div>
    <div style="float:left;margin-left: 650px">
    ${teacher.tea_name}
        <button onclick="goback()" class="btn btn-info glyphicon glyphicon-off"></button>
    </div>

</div>
    <div style="width:1205px;height: 700px; margin: 0 auto;margin-top: 50px;">
        <div style="float: left; width: 200px;height: 550px;text-align: center;line-height: 550px;border:1px solid #dcdcdc;border-right: none;background-color: white;opacity: 0.8">
            <div style="margin-top: 20px">

                <button style="margin-top: 40px;width:82.5px" class="btn btn-info" >
                    <a href="course" style="text-decoration: none" target="iframe_a">选课</a>
                </button></br>
                <button style="margin-top: 40px;width: 82.5px" class="btn btn-info" onclick="" target="iframe_a">
                    <a href="teacherResult" style="text-decoration: none" target="iframe_a">选课结果</a>
                </button></br>
<%--                <button style="margin-top: 40px" class="btn btn-info" onclick="" target="iframe_a">--%>
<%--                    <a href="" style="text-decoration: none" target="iframe_a">学生成绩</a>--%>
<%--                </button></br>--%>
                <button style="margin-top: 40px" class="btn btn-info" onclick="" target="iframe_a">
                    <a href="changePassword" style="text-decoration: none" target="iframe_a">修改密码</a>
                </button></br>
            </div>
        </div>
        <div style="float: left;background-color: white;opacity: 0.8">
            <iframe  width="1000" height="550" name="iframe_a" style="border: 1px solid #dcdcdc;"></iframe>
        </div>
    </div>
</body>
<script>
    var goback=function(){
        var fan = window.confirm("确定要注销嘛?");
        if(fan){
            window.location.href="t_login";
        }
    }
</script>
</html>
